package com.dylan.magic.rocketmq.config.mq;

/**
 * @author : ankang
 * @date : 2020/1/21 18:22
 * @Description : 消息主题
 */
public enum MessageTopic {
    /**
     * 测试消息
     */
    MESSAGE_TEST("message_test", "测试消息");
    private String topic;
    private String desc;
    MessageTopic(String topic, String desc) {
        this.topic = topic;
        this.desc = desc;
    }

    public String getTopic() {
        return topic;
    }

    public String getDesc() {
        return desc;
    }
}
